import request from '@/utils/request'

const videoApi = {
    // 获取厂商基本信息
    getComapany(data) {
        return request({
            url: '/webinar/newapi/company/getComapany',
            method: 'get',
            params: data
        })
    },
    // 获取近3个月赞助排行榜
    getTopSponsor(data) {
        return request({
            url: '/webinar/newapi/company/getTopSponsor',
            method: 'get',
            params: data
        })
    },
    // 公告/通知
    getNotice(data) {
        return request({
            url: '/webinar/newapi/notice/getNotice',
            method: 'get',
            params: data
        })
    },
    // 公告/通知
    getComapanyMeetingCalendar(data) {
        return request({
            url: '/webinar/newapi/meeting/getComapanyMeetingCalendar',
            method: 'get',
            params: data
        })
    },
    // 代办
    getCanSponsorMeeting(data) {
        return request({
            url: '/webinar/newapi/meeting/getCanSponsorMeeting',
            method: 'get',
            params: data
        })
    },
    // 取消代办
    setNoticeDown(data) {
        return request({
            url: '/webinar/newapi/notice/setNoticeDown',
            method: 'get',
            params: data
        })
    },
    // 获取该厂商可赞助的会议
    getNoticeNotDown(data) {
        return request({
            url: '/webinar/newapi/notice/getNoticeNotDown',
            method: 'get',
            params: data
        })
    },
    // 上传视频
    uploadVideo(data) {
        return request({
            url: '/webinar/newapi/video/uploadVideo',
            method: 'post',
            data
        })
    },
    // 退出
    exit(data) {
        return request({
            url: '/webinar/newapi/login/exit',
            method: 'get',
            params: data
        })
    },
    // 获取所有会议
    getAllCanSponsorMeeting(data) {
        return request({
            url: '/webinar/newapi/meeting/getAllCanSponsorMeeting',
            method: 'get',
            params: data
        })
    },
    // 获取赞助会议的招商函的下载地址
    getInvitationLetters(data) {
        return request({
            url: '/webinar/newapi/meeting/getInvitationLetters',
            method: 'get',
            params: data
        })
    },
}
export default videoApi